package com.jwq.bsdw.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jwq.bsdw.pojo.Blog;

/**
 * Created by jinwenqi
 */
public interface BlogService {


    //编辑器转换为html
    Blog getAndConvert(Long id);

    Integer saveBlog(Blog blog);

    Integer updateBlog(Long id, Blog blog);


    IPage findByPage(Integer pageNum, Integer pageSize);
}
